import { defineStore } from "pinia";
import { ref } from 'vue';

export const useShowSendEmailDialogStore = defineStore('yunzhou_showSendEmailDialog', () => {
  const showSendEmailDialog = ref(false)

  const getShowSendEmailDialog = () => {
    return showSendEmailDialog.value
  }

  const setShowSendEmailDialog = (condition) => {
    showSendEmailDialog.value = condition
  }

  const removeShowSendEmailDialog = () => {
    showSendEmailDialog.value = false
  }

  return { showSendEmailDialog, getShowSendEmailDialog, setShowSendEmailDialog, removeShowSendEmailDialog }
});